﻿module UI {

    export class SelectionChangedArgs {

        public selectedIndex: number = null;

        public selectedItem: ListBoxItem = null;

        public static create(selectedIndex: number, selectedItem: ListBoxItem): SelectionChangedArgs {
            var result = new SelectionChangedArgs();
            result.selectedIndex = selectedIndex;
            result.selectedItem = selectedItem;
            return result;
        }

    }

} 